#include "filletFeature.h"

FilletFeature::FilletFeature()
{
    //初始值全设置成-1
    radius = -1;
    filletId = -1;
    featureType = 7;
    resultId = -1;
    targetFeature = nullptr;
}

FilletFeature::~FilletFeature()
{
}

int FilletFeature::getFilletId()
{
    return filletId;
}

double FilletFeature::getRadius()
{
    return this->radius;
}

int FilletFeature::getResultId()
{
    return resultId;
}

BaseFeature* FilletFeature::getTargetFeature()
{
    return targetFeature;
}

Standard_Integer FilletFeature::getSubEdgeIndex()
{
    return this->subEdgeIndex;
}

void FilletFeature::setFilletId(int filletId)
{
    this->filletId = filletId;
}

void FilletFeature::setResultId(int resultId)
{
    this->resultId = resultId;
}

void FilletFeature::setRadius(double radius)
{
    this->radius = radius;
}

void FilletFeature::setTargetFeature(BaseFeature* targetFeature)
{
    this->targetFeature = targetFeature;
}


void FilletFeature::setSubEdgeIndex(Standard_Integer index)
{
    this->subEdgeIndex = index;
}

